// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
// import vueResource from 'vue-resource'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
import App from './App'
import store from './store'
import router from './router'
import { sync } from 'vuex-router-sync'

require('./assets/less/common.less')

// import * as filters from './filters'

// Vue.use(vueResource)
Vue.use(ElementUI)
sync(store, router)

/* eslint-disable no-new */

new Vue({
  router,
  store,
  el: '#app',
  ...App
})

